<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/common.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
	<script type="text/javascript" src="../js/md5.js"></script>
	<script type="text/javascript" src="../js/Ajax.js"></script>
	<script language="javascript" src="../js/DatePicker/WdatePicker.js" type="text/javascript"></script>
	</head>
	<body bgcolor="#ccddee" link="#000066" vlink="#0066FF" alink="#99FF00" >
		<center>
				<table width="100%" border=1 align="center" cellpadding="0"
					cellspacing="0" bgcolor="#ccddee">
					<tr>
						<td width="15%" align="right">
							照片:
						</td>
						<td width="30%">
						<span>
							<img width="50px" height="50px" src="<s:url action='getphoto.action' >
								<s:param name='staffcode' value='staffcode'></s:param>
								</s:url>
								 "/>
						</span>
						</td>
						<td align="left">
						</td>
					</tr>
					<tr>
					<s:form method="post" namespace="/base" theme="simple" action="addPhoto" enctype="multipart/form-data" >
						<td width="15%" align="right">
							上传照片:
						</td>
						<td width="30%">
							<s:file name="file"  theme="simple" ></s:file>
						</td>
						<td align="left">
							<input type="hidden" name="personnel.staffcode" value="${staffcode}"/>
							<input type="submit" value="上传"/>
						</td>
					</s:form>
					</tr>
				</table>
				<br />
				<center>
					<span >
						第二步   添加照片
					</span>	
				</center>
				<br />
		</center>

	</body>
</html>